package com.ailanyin.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 系统错误日志
*
* @author ailanyin
* @version 1.0
* @since 2022-01-04 04:41:49
*/
@Data
public class SysErrorLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @Excel(name = "主键id", width = 20)
    private Long exceptionId;

    @ApiModelProperty(value = "异常原因")
    @Excel(name = "异常原因", width = 20)
    private String exceptionReason;

    @ApiModelProperty(value = "堆栈信息")
    @Excel(name = "堆栈信息", width = 20)
    private String detailInfo;

    @ApiModelProperty(value = "发生时间")
    @Excel(name = "发生时间", format = "yyyy-MM-dd HH:mm:ss", width = 30)
    private Date createTime;

}
